package com.clqteam.serviceimpl;

import com.clqteam.dao.showZsDao;
import com.clqteam.daoimpl.showZsDaoImpl;
import com.clqteam.service.showZsService;

import net.sf.json.JSONObject;

public class showZsServiceImpl implements showZsService{
	showZsDao sh = new showZsDaoImpl();

	@Override
	public JSONObject findAllZsProduct(int page, int rows) {
		JSONObject j = new JSONObject();
		j.put("total", sh.getZsProductCount());
		j.put("rows", sh.getAllZsProduct(page, rows));
		return j;
	}

}
